Hi All,
I have a list of Baseline definitions for a project, Where I would like to access a module from the baseline set definition. But it always populates the recent version of the module not the old one which i am looking for.. Do we need to mention the version, Can't we access by using the description (or) BSD Name? Please help.
Here is the code....
void printBSDs()
{
BaselineSetDefinition bsd
BaselineSet bs
Baseline b
for bsd in current Folder do
{
print name(bsd) ": " description(bsd) "\n"
for bs in bsd do
{
if(description(bsd) == "ABC Config")
{
ModName_ mod
for mod in bsd do
{
Module PD = read("/Hybrid/Contract Documents/Description", false)
current = PD
for b in PD do
{
if (description(bsd) == "ABC Config")
{
Module PD = read("/Hybrid/Contract Documents/Description", true)
printModule PD
}
}
}
}
}
}
}
printBSDs
SystemAdmin - Sun Oct 18 08:31:50 EDT 2009 |